﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Modificar.aspx.cs" Inherits="WebApplication3.Modificar" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        Modificar Pedido:<br />
        <br />
        Ingrese id de su pedido:<br />
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
&nbsp;&nbsp;
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
            Text="Buscar en BD" />
        <br />
        <br />
        Plato principal:<br />
        <asp:DropDownList ID="DropDownList1" runat="server" 
            DataSourceID="SqlDataSource1" DataTextField="descripcion" 
            DataValueField="descripcion">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:patiodecomidasConnectionString %>" 
            SelectCommand="SELECT [descripcion] FROM [Menu]"></asp:SqlDataSource>
        <br />
        <br />
        Bebida:<br />
        <asp:DropDownList ID="DropDownList2" runat="server" 
            DataSourceID="SqlDataSource2" DataTextField="descripcion" 
            DataValueField="descripcion">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
            ConnectionString="<%$ ConnectionStrings:patiodecomidasConnectionString %>" 
            SelectCommand="SELECT [descripcion] FROM [Bebidas]"></asp:SqlDataSource>
        <br />
        <br />
        Postre:<br />
        <asp:DropDownList ID="DropDownList3" runat="server" 
            DataSourceID="SqlDataSource3" DataTextField="descripcion" 
            DataValueField="descripcion">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
            ConnectionString="<%$ ConnectionStrings:patiodecomidasConnectionString %>" 
            SelectCommand="SELECT [descripcion] FROM [Postre]"></asp:SqlDataSource>
        <br />
        <br />
        <asp:Label ID="Label1" runat="server" Text="Status"></asp:Label>
        <br />
        <br />
        Comentario:<br />
        <br />
        <asp:TextBox ID="TextBox2" runat="server" Height="108px" TextMode="MultiLine" 
            Width="213px"></asp:TextBox>
        <br />
        <br />
        <asp:Button ID="Button2" runat="server" Height="26px" onclick="Button2_Click" 
            Text="Actualizar Pedido" Width="173px" />
    
    </div>
    </form>
</body>
</html>
